package edu.sctu.practice.class02.shilaihong.text.text08;

/**
 * Created by admin on 2015/10/14.
 */
public class Car extends Vehicles {

    public int seat;

    public void showCar() {
        System.out.println("I am a" + this.brand + "颜色" + this.color + "座位" + this.seat + "个");
    }

    public Car(String a, String b, int c) {
        super(a, b);
        this.seat = c;
    }

}

